import request from '@/utils/request'
export function getAdDate(query) {
  return request({
    url: '/api/v1/count',
    method: 'get',
    params: query
  })

}
export function getAdTable(query) {
  return request({
    url: '/api/v1/records',
    method: 'get',
    params: query
  })
}

export function downLoadTable(query) {
  return request({
    url: '/api/v1/export',
    method: 'get',
    params: query
  })
}

export function downLoadPlays(query) {
  return request({
    url: '/api/v1/adSoltExport',
    method: 'get',
    params: query
  })
}

export function getRecodList(query) {
  return request({
    url: '/api/v1/record',
    method: 'get',
    params: query
  })
}
